# math模块为浮点运算提供了对底层C函数库的访问:


import math

print(math.cos(math.pi / 4))  # 0.7071067811865476

print(math.log(1024, 2))  # 10.0
